﻿function setFocus(sender,href)
{
    var li = sender.parentNode;
    var lis = sender.parentNode.parentNode.getElementsByTagName("li");
    if (li.className != "on")
    {
        for (var i = 0; i < lis.length; i++)
        {
            if (lis[i].className == "on")
            {
                lis[i].className = "";
            }
        }
        li.className = "on";
    }
    var content = document.getElementById("content");
    content.innerHTML = '<iframe id="frameContent" name="frameContent" frameborder="0" width="100%" height="100%" src="' + href + '"></iframe>';
    if (href == "")
    {
        alert("该版本暂不提供此功能");
    }
    sender.blur();
}